import Vue from 'vue'
import Vuex from 'vuex'
import axios from '../http/http.js'
// import route from '../routes.js'
import state from './state'
import mutations from './mutations'

// import test from './modules/testStore.js'

Vue.prototype.$axios = axios
Vue.use(Vuex)

export default new Vuex.Store({
  namespaced: true,
  // modules: {
  //   test
  // }
  state,
  mutations
  // strict: debug,
  // plugins: debug ? [createLogger()] : []
})
